<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>对象显示</title>
</head>
<body>
<!--Object.values() 将对象转换为数组-->
<p id="demo"></p>
<script>
  const person = {
    name: "Bill",
    age: 19,
    city: "Seattle"
  };
  document.getElementById("demo").innerHTML =
          Object.values(person);
</script>
</body>
</html>